package com.test2;

public class Employee {
    private String name;
    private int age;
    private int wage;

    public void work(){
        System.out.println("正在工作");
    }

    public Employee() {
    }

    public Employee(String name, int age, int wage) {
        this.name = name;
        this.age = age;
        this.wage = wage;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * 获取
     * @return wage
     */
    public int getWage() {
        return wage;
    }

    /**
     * 设置
     * @param wage
     */
    public void setWage(int wage) {
        this.wage = wage;
    }


}
